package com.ruoyi.common.exception.backendEnum;

public enum DustException {

    DUST_NOT_FOUND(400,"未查询到粉尘检测仪相机数据"),
    DUST_NOT_EXIST(400,"粉尘检测仪数据不存在");

    private final int code;
    private final String message;

    DustException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
